class ZuoyesController < ApplicationController
  layout :determin_layout
  active_scaffold :zuoye do |config|
      config.columns = [  :zylx , :zymc, :zywj,:fbjs,:tjsj]
      config.label = "作业"
#      config.actions.exclude :create ,:search,:live_serch
#      config.actions.exclude :update,:delete
      config.actions.swap :search, :live_search
  end
end
